#include <stdio.h>

int main(void)
{
    int x, res;

    if(scanf("%d", &x) != 1)
    {
        printf("Error input.\n");
        return 0;
    }
    !(x % 5) && (res = 100) || (res = 0);
    printf("%d",res);
    return 0;
}